/**
 * Created by kang on 2016/12/19.
 */
'use strict';

app.controller('WorkCtrl', ['$scope',function($scope) {
  	/*var pages = "#/tab/home+#/tab/me+#/tab/work+#/tab/chats";
    $scope.$on('$ionicView.afterEnter', function() {
        if (pages.indexOf(location.hash) > -1) {
            var tabs =document.getElementsByTagName('ion-tabs');
            angular.element(tabs).removeClass("tabs-item-hide");
        }
    });
    $scope.$on('$ionicView.beforeLeave', function() {
        if (pages.indexOf(location.hash) > -1) return;
        var tabs =document.getElementsByTagName('ion-tabs');
        angular.element(tabs).addClass("tabs-item-hide");
    });*/
}]);
